package cn.sh.yhk.websocket;

/**
 * @Classname Yhk
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/10/14 7:16
 * @Created by y6522
 */

import jakarta.websocket.Session;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 客户端实体类
 *
 * @author qf
 * @since 2024/08/29 19:50
 */
@Data
public class WebSocketClient {

    /**
     * 客户端唯一标识
     */
    private String token;
    /**
     * 客户端连接的session
     */
    private Session session;
    /**
     * 连接存活时间
     */
    private LocalDateTime existTime;
}
